package edu.ctbu.labtest.dao;

import edu.ctbu.labtest.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/*学生仓库接口*/
public interface StudentRepository extends JpaRepository<Student,Long> {
    public List<Student> findByName(String name);
    public List<Student> findByNameAndPassword(String name, String password);
}
